-- 防止误删除redis 锁处理
local lockUid = ARGV[1]

local KEYS = "lock"

if redis.call('get', KEYS) == lockUid then
    return redis.call('del', KEYS)
else
    return 0
end
